02. Demonstration

The video below is a demonstration of the concepts that you are going to learn in this lesson. It will show you the significance of creating virtual environments, introduce you to the Anaconda distribution, and demonstrate the use of conda to create a virtual environment and install packages into it. It's alright if you are viewing all these steps for the first time.

In the next few pages, you'll learn the fundamentals of all the tasks demonstrated here.

Why Anaconda?

INSTRUCTOR NOTE:

Anaconda is a distribution of packages built for data science. It comes with conda, a package and environment manager. You'll be using conda to create environments for isolating your projects that use different versions of Python and/or different packages. You'll also use it to install, uninstall, and update packages in your environments. Using Anaconda has made my life working with data much more pleasant.

The list of commands used are in the video above are:

conda create -n tea_facts python=3
source activate tea_facts
conda list
conda install numpy pandas matplotlib 

Anaconda comes with the Jupyter notebook package. If you are using Miniconda, you can install Jupyter notebook as:

conda install jupyter notebook